package com.company.适配器模式;

public class Adapter implements MyFun{
    private Funner funner;
    public Adapter(Funner funner){
        this.funner=funner;
    }
    @Override
    public void add(Object o) {
        funner.add(o);
    }

    @Override
    public void remove(Object... args) {
        for (Object o:args){
            funner.remove(o);
        }
    }
}
